﻿using System.ComponentModel;
namespace AutoViewModel.Tests {
	public class GenericTypeViewModelMock<TypeToTest> : INotifyPropertyChanged {
		public virtual TypeToTest MyProperty {
			get;
			set;
		}

		public void RaisePropertyChanged(string propertyChanged) {
			if (PropertyChanged != null) {
				PropertyChanged(this, new PropertyChangedEventArgs(propertyChanged));
			}
		}

		#region INotifyPropertyChanged Members

		public event PropertyChangedEventHandler PropertyChanged;

		#endregion
	}
}
